Part Number Hot Search : 
TA114 2412Z C2429 DT74FCT STRPB GBC30U F19SF RD2V0EB1
Product Description
Full Text Search
 

To Download MCF5206FT33A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  motorola, 1997 all rights reserved. motorola reserves the right to make changes without further notice to any produc ts herein. motorola makes no warranty , representation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola as sume any liability arising out of the application or use of any product or circu it, and specifically disclaims any and all liability , including without limitation consequential or incidental damages. "t ypical" parameters can and do vary in dif ferent applications. all oper ating parameters, including "t ypicals" must be validated for each customer application by customer's technical experts. motorola does not convey any license under its patent rights nor the rights of others. motorola p roducts are not designed, intended, or authorized for use as components in syste ms intended for surgical implant into the body , or other applications intended to support or sustain life, or for any other ap plication in which the failure of the motorola product could create a situation where p ersonal injury or death may occur . should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its of ficers, employees, subsidiaries, af filiates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, direc tly or indirectly , any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the part. motorola and are registered trademarks of motorola, inc. motorola, inc. is an equal opportunity/affirmative action employer. mcf5206 coldfire integrated microprocessor user? manual tm f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola mcf5206 user? manual iii documentation feedback fax 512-891-8593?ocumentation comments only (no technical questions please) http: / / www.mot.com/hpesd/docs_survey.html?ocumentation feedback only the technical communications department welcomes your suggestions for improving our documentation and encourages you to complete the documentation feedback form at the world wide web address listed above. in return for your efforts, you will receive a small token of our appreciation. your help helps us measure how well we are serving your infor- mation requirements. the technical communications department also provides a fax number for you to submit any questions or comments about this document or how to order other documents. please provide the part number and revision number (located in upper right-hand corner of the cover) and the title of the document. when referring to items in the manual, please reference by the page number, paragraph number, figure number, table number, and line number if needed. please do not fax technical questions to this number. when sending a fax, please provide your name, company, fax number, and phone number including area code. for internet access: web only: http: // www.mot.com/aesop for hotline questions: fax (us or canada): 1-800-248-8567 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
iv mcf5206 user? manual motorola applications and technical information for questions or comments pertaining to technical information, questions, and applications, please contact one of the following sales offices nearest you. ?sales offices field applications engineering available through all sales offices united states alabama , huntsville (205) 464-6800 arizona , tempe (602) 897-5056 california , agoura hills (818) 706-1929 california , los angeles (310) 417-8848 california , irvine (714) 753-7360 california , rosevllle (916) 922-7152 california , san diego (619) 541-2163 california , sunnyvale (408) 749-0510 colorado , colorado springs (719) 599-7497 colorado , denver (303) 337-3434 connecticut , wallingford (203) 949-4100 florida , maitland (407) 628-2636 florida , pompano beach/ fort lauderdale (305) 486-9776 florida , clearwater (813) 538-7750 georgla , atlanta (404) 729-7100 idaho , boise (208) 323-9413 illinois , chicago/hoffman estates (708) 490-9500 indlana , fort wayne (219) 436-5818 indiana , indianapolis (317) 571-0400 indiana , kokomo (317) 457-6634 iowa , cedar rapids (319) 373-1328 kansas , kansas city/mission (913) 451-8555 maryland , columbia (410) 381-1570 massachusetts , marborough (508) 481-8100 massachusetts , woburn (617) 932-9700 michigan , detroit (313) 347-6800 minnesota , minnetonka (612) 932-1500 missouri , st. louis (314) 275-7380 new jersey , fairfield (201) 808-2400 new york , fairport (716) 425-4000 new york , hauppauge (516) 361-7000 new york , poughkeepsie/fishkill (914) 473-8102 north carolina , raleigh (919) 870-4355 ohio , cleveland (216) 349-3100 ohio , columbus/worthington (614) 431-8492 ohio , dayton (513) 495-6800 oklahoma , tulsa (800) 544-9496 oregon , portland (503) 641-3681 pennsylvania , colmar (215) 997-1020 philadelphia/horsham (215) 957-4100 tennessee , knoxville (615) 584-4841 texas , austin (512) 873-2000 texas , houston (800) 343-2692 texas , plano (214) 516-5100 virginia , richmond (804) 285-2100 washington , bellevue (206) 454-4160 seattle access (206) 622-9960 wisconsin , milwaukee/brookfield (414) 792-0122 canada british columbia , vancouver (604) 293-7605 ontario , toronto (416) 497-8181 ontario , ottawa (613) 226-3491 quebec , montreal (514) 731-6881 international australia , melbourne (61-3)887-0711 australia , sydney (61(2)906-3855 brazil , sao paulo 55(11)815-4200 china , beijing 86 505-2180 finland , helsinki 358-0-35161191 car phone 358(49)211501 france , paris/vanves 33(1)40 955 900 germany , langenhagen/ hanover 49(511)789911 germany , munich 49 89 92103-0 germany , nuremberg 49 911 64-3044 germany , sindelfingen 49 7031 69 910 germany , wiesbaden 49 611 761921 hong kong , kwai fong 852-4808333 tai po 852-6668333 india , bangalore (91-812)627094 israel , tel aviv 972(3)753-8222 italy , milan 39(2)82201 japan , aizu 81(241)272231 japan , atsugi 81(0462)23-0761 japan , kumagaya 81(0485)26-2600 japan , kyushu 81(092)771-4212 japan , mito 81(0292)26-2340 japan , nagoya 81(052)232-1621 japan , osaka 81(06)305-1801 japan, sendai 81(22)268-4333 japan, tachikawa 81(0425)23-6700 japan, tokyo 81(03)3440-3311 japan , yokohama 81(045)472-2751 korea , pusan 82(51)4635-035 korea , seoul 82(2)554-5188 malaysia , penang 60(4)374514 mexico , mexico city 52(5)282-2864 mexico , guadalajara 52(36)21-8977 marketing 52(36)21-9023 customer service 52(36)669-9160 netherlands , best (31)49988 612 11 puerto rico , san juan (809)793-2170 singapore (65)2945438 spain , madrid 34(1)457-8204 or 34(1)457-8254 sweden , solna 46(8)734-8800 switzerland , geneva 41(22)7991111 switzerland , zurich 41(1)730 4074 talwan , taipei 886(2)717-7089 thailand , bangkok (66-2)254-4910 united kingdom , aylesbury 44(296)395-252 full line representatives colorado , grand junction cheryl lee whltely (303) 243-9658 kansas , wichita melinda shores/kelly greiving (316) 838 0190 nevada , reno galena technology group (702) 746 0642 new mexico , albuquerque s&s technologies, lnc. (505) 298-7177 utah , salt lake city utah component sales, inc. (801) 561-5099 washington , spokane doug kenley (509) 924-2322 argentina , buenos aires argonics, s.a. (541) 343-1787 hybrid components resellers elmo semiconductor (818) 768-7400 minco technology labs inc. (512) 834-2022 semi dice inc. (310) 594-4631 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola mcf5206 user? manual v preface the mcf5206 coldfire integrated microprocessor user? manual describes the programming, capabilities, and operation of the mcf5206 device. refer to the mcf5200 coldfire family programmer? reference manual for information on the coldfire family of microprocessors. trademarks all trademarks reside with their respective owners. contents this user manual is organized as follows: section 1: introduction section 2: signal description section 3: coldfire core section 4: instruction cache section 5: sram section 6: bus operation section 7: system integration module (sim) section 8: chip-select module section 9: parallel port (general-purpose i/o) module section 10: dram controller section 11: uart module section 12: m-bus module section 13: timer module section 14: debug support section 15: ieee 1149.1 test access port (jtag) section 16: electrical characteristics section 17: mechanical characteristics appendix a: memory map appendix b: porting from m68k architectures index f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola mcf5206 user?s manual rev 1.0 i table of contents paragraph page number title number section 1 introduction 1.1 background .......................................................................................... 1-1 1.2 mcf5206 features .............................................................................. 1-2 1.3 functional blocks ................................................................................. 1-4 1.3.1 coldfire processor core............................................................ 1-4 1.3.1.1 processor states ............................................................1-4 1.3.1.2 programming model ....................................................... 1-5 1.3.1.3 data format summary ................................................... 1-8 1.3.1.4 addressing capabilities summary ..................................1-8 1.3.1.5 notational conventions................................................... 1-8 1.3.1.6 instruction set overview................................................. 1-8 1.3.2 instruction cache ..................................................................... 1-14 1.3.3 internal sram ..........................................................................1-14 1.3.4 dram controller ...................................................................... 1-14 1.3.5 duart module ........................................................................ 1-15 1.3.6 timer module ........................................................................... 1-15 1.3.7 motorola bus (m-bus) module.................................................. 1-15 1.3.8 system interface ...................................................................... 1-15 1.3.8.1 external bus interface .................................................. 1-15 1.3.8.2 chip selects.................................................................. 1-16 1.3.9 8-bit parallel port (general-purpose i/o)................................. 1-16 1.3.10 interrupt controller ................................................................... 1-16 1.3.11 system protection .................................................................... 1-16 1.3.12 jtag ........................................................................................ 1-16 1.3.13 system debug interface........................................................... 1-16 1.3.14 pinout and package ................................................................. 1-17 section 2 signal description 2.1 introduction........................................................................................... 2-1 2.2 address bus .........................................................................................2-3 2.2.1 address bus (a[27:24]/ cs[7:4]/ we[0:3]) ................................. 2-4 2.2.2 address bus (a[23:0]) ................................................................ 2-4 2.2.3 data bus (d[31:0])...................................................................... 2-4 2.3 chip selects ......................................................................................... 2-4 2.3.1 chip selects (a[27:24]/ cs[7:4]/ we[0:3]).................................. 2-5 date: 8-31-98 revision no.: 1.1 pages affected: see change bars f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number ii user?s manual motorola 2.3.2 chip s elects ( cs[3:0]) ................................................................ 2-5 2.3.3 byte write e nables ( a[27:24]/ cs[7:4]/ we[0:3]) ....................... 2-5 2.4 interrupt control signals ...................................................................... 2-7 2.4.1 interrupt priority level/ interrupt request (ipl[2]/irq[7],ipl[1]/irq[4], ipl[0]/irq[1]) .............................................................................. 2-7 2.5 bus control signals .............................................................................. 2-8 2.5.1 read/write (r/ w) ....................................................................... 2-8 2.5.2 size (siz[1:0]) ............................................................................ 2-8 2.5.3 transfer type (tt[1:0]) .............................................................. 2-9 2.5.4 access type and mode (atm) ................................................... 2-9 2.5.5 transfer start (ts) ................................................................... 2-10 2.5.6 transfer acknowledge (ta) ..................................................... 2-10 2.5.7 asynchronous transfer acknowledge (ata) ........................... 2-10 2.5.8 transfer error acknowledge (tea) .......................................... 2-11 2.6 bus arbitration signals ....................................................................... 2-11 2.6.1 bus request (br) .................................................................... 2-11 2.6.2 b us grant ( bg) ........................................................................ 2-11 2.6.3 bus driven (bd) ....................................................................... 2-11 2.7 clock and reset signals .................................................................... 2-12 2.7.1 clock input (clk) ..................................................................... 2-12 2.7.2 reset (rsti) ............................................................................ 2-12 2.7.3 reset out (rts[2]/rsto) ....................................................... 2-12 2.8 d ram c ontroller signals ................................................................... 2-12 2.8.1 row address strobes (ras[1:0]) ............................................. 2-13 2.8.2 column address strobes (cas[3:0]) ....................................... 2-13 2.8.3 dram write (dramw) ............................................................ 2-14 2.9 uart module signals ........................................................................ 2-14 2.9.1 receive data (rxd[1], rxd[2]) ................................................ 2-14 2.9.2 transmit data (txd[1], txd[2]) ................................................ 2-14 2.9.3 request to send (rts[1], rts[2]/rsto) .............................. 2-15 2.9.4 clear to send (cts[1], cts[2]) .............................................. 2-15 2.10 timer module signals ........................................................................ 2-15 2.10.1 timer input (tin[2], tin[1]) ...................................................... 2-15 2.10.2 timer output (tout[2], tout[1]) ........................................... 2-15 2.11 m-bus module signals ....................................................................... 2-15 2.11.1 m-bus serial clock (scl) ........................................................ 2-15 2.11.2 m-bus serial data (sda) ......................................................... 2-15 2.12 general p urpose i/o signals ............................................................. 2-16 2.12.1 general p urpose i/o (pp[7:4]/pst[3:0]) .................................. 2-16 2.12.2 parallel port (general-purpose i/o) (pp[3:0]/ddata[3:0]) ...... 2-16 2.13 debug support signals ...................................................................... 2-16 2.13.1 processor status (pp[7:4]/pst[3:0]) ........................................ 2-16 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number motorola user?s manual iii 2.13.2 debug data (pp[3:0]/ddata[3:0]) ........................................... 2-17 2.13.3 development serial clock (trst/dsclk) .............................. 2-17 2.13.4 break point (tms/bkpt) ......................................................... 2-17 2.13.5 development serial input (tdi/dsi) ......................................... 2-18 2.13.6 development serial output (tdo/dso) .................................. 2-18 2.14 jtag signals ..................................................................................... 2-18 2.14.1 test clock (tck) ...................................................................... 2-18 2.14.2 test reset (trst/dsclk) ...................................................... 2-18 2.14.3 test mode select (tms/bkpt) ................................................ 2-19 2.14.4 test data input (tdi/dsi) ......................................................... 2-19 2.14.5 test data output (tdo/dso) .................................................. 2-19 2.15 test signals ........................................................................................ 2-19 2.15.1 motorola test mode (mtmod) ................................................ 2-19 2.15.2 high impedance (hiz) .............................................................. 2-20 2.16 signal summary ................................................................................. 2-20 section 3 coldfire core 3.1 processor pipelines .............................................................................. 3-1 3.2 processor register description ............................................................ 3-2 3.2.1 user programming model .......................................................... 3-2 3.2.1.1 data registers (d0ed7) ................................................. 3-2 3.2.1.2 address registers (a0ea6) ............................................ 3-2 3.2.1.3 stack pointer (a7) ........................................................... 3-2 3.2.1.4 program counter (pc) ..................................................... 3 -2 3.2.1.5 condition code register (ccr) ...................................... 3 -3 3.2.2 supervisor programming model ................................................. 3-4 3.2.2.1 status register ............................................................... 3-4 3.2.2.2 vector base register (vbr) ........................................... 3-5 3.3 exception processing overview ........................................................... 3-5 3.4 exception stack frame definition ........................................................ 3-7 3.5 processor exceptions ........................................................................... 3-8 3.5.1 access error exception .............................................................. 3-8 3.5.2 address error exception ............................................................ 3-9 3.5.3 illegal instruction exception ........................................................ 3-9 3.5.4 privilege violation ....................................................................... 3-9 3.5.5 trace exception ......................................................................... 3-9 3.5.6 debug interrupt ........................................................................ 3-10 3.5.7 rte and format error exceptions ........................................... 3-10 3.5.8 trap instruction exceptions .................................................... 3-10 3.5.9 interrupt exception ................................................................... 3-10 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number iv user?s manual motorola 3.5.10 fault-on-fault halt ................................................................... 3-11 3.5.11 reset exception ....................................................................... 3-11 3.6 instruction execution timing .............................................................. 3-11 3.6.1 timing assumptions ................................................................. 3-12 3.6.2 move instruction execution times ......................................... 3-12 section 4 instruction cache 4.1 features of instruction cache ............................................................. 4-1 4.2 instruction cache physical organization ............................................. 4-1 4.3 instruction cache operation ................................................................ 4-2 4.3.1 interaction with other modules .................................................. 4-3 4.3.2 memory reference attributes .................................................... 4-3 4.3.3 cache coherency and invalidation ............................................ 4-3 4.3.4 reset .......................................................................................... 4-4 4.3.5 cache miss fetch algorithm/line fills ....................................... 4-4 4.4 instruction cache programming model ................................................ 4-5 4.4.1 instruction cache registers memory map ................................. 4-5 4.4.2 instruction cache register ......................................................... 4-6 4.4.2.1 cache control register (cacr) ..................................... 4-6 4.4.2.2 access control registers (acr0, acr1) ....................... 4-8 section 5 sram 5.1 sram features .................................................................................... 5-1 5.2 sram operation .................................................................................. 5-1 5.3 programming model ............................................................................. 5-1 5.3.1 sram register memory map .................................................... 5-1 5.3.2 sram registers ......................................................................... 5-2 5.3.2.1 sram base address register (rambar) ..................... 5-2 5.3.3 s ram initialization ..................................................................... 5-3 5.3.4 power management ................................................................... 5-4 section 6 bus operation 6.1 features ............................................................................................... 6-1 6.2 bus and control signals ...................................................................... 6-1 6.2.1 address bus (a[27:0]) ................................................................ 6-1 6.2.2 data bus (d[31:0]) ..................................................................... 6-2 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number motorola user?s manual v 6.2.3 transfer start (ts) ..................................................................... 6-2 6.2.4 read/write (r/ w) ....................................................................... 6-2 6.2.5 size (siz[1:0]) ............................................................................ 6-2 6.2.6 transfer type (tt[1:0]) .............................................................. 6-2 6.2.7 access type and mode (atm) ................................................... 6-3 6.2.8 asynchronous transfer acknowledge (ata) ............................. 6-3 6.2.9 transfer acknowledge (ta) ........................................................ 6-4 6.2.10 transfer error acknowledge (tea) ............................................ 6-4 6.3 bus exceptions ..................................................................................... 6-5 6.3.1 double bus fault ........................................................................ 6-5 6.4 bus characteristics .............................................................................. 6-5 6.5 data transfer mechanism .................................................................... 6-6 6.5.1 bus sizing .................................................................................. 6-7 6.5.2 bursting read transfers: word, longword, and line .............. 6-15 6.5.3 bursting write transfers: word, longword, and line .............. 6-18 6.5.4 burst-inhibited read transfer: word, longword, and line ...... 6-21 6.5.5 burst-inhibited write transfer: word, longword, and line ...... 6-24 6.5.6 a synchronous-acknowledge read transfer ............................ 6-27 6.5.7 asynchronous acknowledge write transfer ............................ 6-30 6.5.8 bursting read transfers w ith a synchronous acknowledge ..... 6-32 6.5.9 bursting write transfers w ith asynchronous acknowledge ..... 6-35 6.5.10 burst-inhibited read transfers w ith async . a cknowledge ....... 6-39 6.5.11 burst-inhibited write transfers w ith async . a cknowledge ....... 6-42 6.5.12 termination tied to gnd ......................................................... 6-45 6.6 misaligned operands ......................................................................... 6-46 6.7 acknowledge cycles .......................................................................... 6-47 6.7.1 interrupt acknowledge cycle .................................................... 6-48 6.8 bus errors .......................................................................................... 6-51 6.9 bus arbitration .................................................................................... 6-53 6.9.1 two master bus arbitration protocol (two-wire mode) ........... 6-53 6.9.2 e xternal bus master arbitration protocol (three-wire mode ) ... 6 -61 6.10 alternate bus master operation ......................................................... 6-67 6.10.1 alternate master read transfer (m cf5206 termination ) ......... 6 -68 6.10.2 alternate master write transfer (m cf5206 termination ) ......... 6 -71 6.10.3 alternate master bursting read (m cf5206 t ermination ) ........ 6-73 6.10.4 alternate master bursting write (m cf5206 t ermination ) ......... 6 -76 6.11 reset operation ................................................................................. 6-80 6.11.1 master reset ............................................................................ 6-80 6.11.2 normal reset ........................................................................... 6-82 6.11.3 software watchdog timer reset operation ............................. 6-83 section 7 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number vi user?s manual motorola system integration module 7.1 introduction .......................................................................................... 7-1 7.1.1 features ..................................................................................... 7-1 7.2 sim operation ...................................................................................... 7-1 7.2.1 module base address register (mbar) .................................... 7-1 7.2.2 bus time-out monitor ................................................................ 7-2 7.2.3 spurious interrupt monitor .......................................................... 7-2 7.2.4 software watchdog timer .......................................................... 7-3 7.2.5 interrupt controller ..................................................................... 7-3 7.3 programming model ............................................................................. 7-6 7.3.1 sim registers memory map ....................................................... 7-6 7.3.2 sim registers ............................................................................. 7-7 7.3.2.1 module base address register (mbar) ........................ 7-7 7.3.2.2 sim configuration register (simr) ................................ 7-9 7.3.2.3 interrupt control register (icr) ...................................... 7-9 7.3.2.4 interrupt mask register (imr) ...................................... 7-11 7.3.2.5 interrupt-pending register (ipr) .................................. 7-12 7.3.2.6 reset status register (rsr) ........................................ 7-13 7.3.2.7 system protection control register (sypcr) .............. 7-14 7.3.2.8 software watchdog interrupt vector reg . ( swivr ) ...... 7 -15 7.3.2.9 software watchdog service register (swsr) ............. 7-16 7.3.2.10 pin assignment register (par) ................................... 7-16 section 8 chip-select module 8.1 introduction .......................................................................................... 8-1 8.1.1 features ..................................................................................... 8-1 8.2 chip s elect module i/o ........................................................................ 8-1 8.2.1 control signals ........................................................................... 8-1 8.2.1.1 chip s elect (cs[7:0]) ...................................................... 8-1 8.2.1.2 write enable (we[3:0]) ................................................... 8-1 8.2.1.3 address bus ................................................................... 8-3 8.2.1.4 data bus ......................................................................... 8-4 8.2.1.5 transfer acknowledge (ta) ............................................ 8-4 8.3 chip s elect operation .......................................................................... 8-4 8.3.1 chip s elect bank definition ........................................................ 8-5 8.3.1.1 base address and address masking .............................. 8-5 8.3.1.2 access permissions ....................................................... 8-6 8.3.1.3 control features ............................................................. 8-6 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number motorola user?s manual vii 8.3.1.3.1 8-, 16-, and 32-bit port sizing .................................................... 8-7 8.3.1.3.2 termination ................................................................................ 8-7 8.3.1.3.3 bursting control .......................................................................... 8-7 8.3.1.3.4 address setup and hold control ................................................ 8-8 8.3.2 global chip s elect operation ..................................................... 8-8 8.3.3 general chip s elect operation .................................................. 8-8 8.3.3.1 nonburst transfer with no address setup and h old ..... 8-9 8.3.3.2 nonburst transfer with address setup ........................ 8-10 8.3.3.3 nonburst transfer with address setup and hold ........ 8-12 8.3.3.4 burst transfer ............................................................... 8-14 8.3.3.5 burst transfer with address setup .............................. 8-16 8.3.3.6 burst transfer with address setup and hold ............... 8-18 8.3.4 alternate master chip se lect operation ................................... 8-21 8.3.4.1 alternate master nonburst transfer ............................. 8-21 8.3.4.2 alternate master burst transfer .................................... 8-23 8.3.4.3 alt ernate m aster burst transfer with address setup and hold ....................................................................................... 8-25 8.4 programming model ........................................................................... 8-27 8.4.1 chip s elect registers memory map ......................................... 8-27 8.4.2 chip s elect controller registers .............................................. 8-29 8.4.2.1 chip s elect address register (csar0 - csar7) ........ 8-29 8.4.2.2 chip s elect mask register (csmr0 - csmr7) ............ 8-30 8.4.2.3 ch ip se lect control register (cscr0 - cscr7) ......... 8-32 8.4.2.4 de fault memoryc ontrol register (dmcr) .................... 8-38 section 9 parallel port (general-purpose i/o) module 9.1 introduction ........................................................................................... 9-1 9.2 parallel port operation ......................................................................... 9-1 9.3 programming model ............................................................................. 9-1 9.3.1 parallel port registers memory map .......................................... 9-1 9.3.2 parallel port registers ................................................................ 9-2 9.3.2.1 port a data direction register (paddr) ........................ 9-2 9.3.2.2 port a data register (padat) ....................................... 9-2 section 10 dram controller 10.1 introduction ......................................................................................... 10-1 10.1.1 features ................................................................................... 10-1 10.2 dram controller i/o .......................................................................... 10-1 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number viii user?s manual motorola 10.2.1 control signals ......................................................................... 10-1 10.2.1.1 row address strobes (ras[0], ras[1]) ....................... 10-1 10.2.1.2 column address strobes (cas[0 :3 ] ) ............................. 1 0-2 10.2.1.3 dram write (dramw) ................................................ 10-3 10.2.2 address bus ............................................................................. 10-3 10.2.3 data bus .................................................................................. 10-4 10.3 dram controller operation ............................................................... 10-4 10.3.1 reset operation ....................................................................... 10-4 10.3.1.1 master reset ................................................................ 10-5 10.3.1.2 normal reset ................................................................ 10-5 10.3.2 definition of dram banks ........................................................ 10-5 10.3.2.1 base address and address masking ............................ 10-5 10.3.2.2 access permissions ..................................................... 10-7 10.3.2.3 timing ........................................................................... 10-8 10.3.2.4 page mode ................................................................... 10-8 10.3.2.5 port size/page size ...................................................... 10-8 10.3.2.6 address multiplexing .................................................... 10-8 10.3.3 normal mode operation ......................................................... 10-15 10.3.3.1 nonburst transfer in normal mode ............................ 10-16 10.3.3.2 burst transfer in normal mode .................................. 10-18 10.3.4 fast page mode operation .................................................... 10-20 10.3.4.1 burst transfer in fast page mode ............................. 10-21 10.3.4.2 page hit read transfer in fast page mode .............. 10-23 10.3.4.3 page hit write transfer in fast page mode ............... 10-25 10.3.4.4 page miss transfer in fast page mode ..................... 10-27 10.3.4.5 bus arbitration ............................................................ 10-30 10.3.5 burst page mode operation ................................................... 10-32 10.3.6 extended data-out (edo) dram operation ......................... 10-35 10.3.7 refresh operation .................................................................. 10-38 10.3.8 external m aster use of the dram controller ........................ 10-40 10.3.8.1 external m aster non-burst transfer in normal mode ..................................................................................... 10-41 10.3.8.2 external m aster burst transfer in normal mode ........ 10-44 10.3.8.3 external m aster burst transfer in burst page mode .. 10-47 10.3.8.4 limitations .................................................................. 10-50 10.4 programming model ......................................................................... 10-51 10.4.1 dram controller registers memory map .............................. 10-51 10.4.2 dram controller registers .................................................... 10-51 10.4.2.1 dram controller refresh register (dcrr) ............... 10-51 10.4.2.2 dram controller timing register (dctr) ................. 10-52 10.4.2.3 dram controller address reg . ( dcar0 - dcar1 ) ... 1 0-58 10.4.2.4 dram controller mask reg . ( dcmr0 - dcmr1 ) ....... 1 0-59 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number motorola user?s manual ix 10.4.2.5 dram controller control reg . ( dccr0 - dccr1 ) ..... 1 0-60 10.5 dram initialization example ............................................................ 10-61 section 11 uart modules 11.1 module overview ................................................................................. 11-2 11.1.1 serial communication channel ................................................. 11-2 11.1.2 baud-rate generator/timer ...................................................... 11-3 11.1.3 interrupt control logic ............................................................... 11-3 11.2 uart module signal definitions ......................................................... 11-3 11.2.1 transmitter serial data output (txd) ........................................ 11-3 11.2.2 receiver serial data input (rxd) .............................................. 11-4 11.2.3 request-to-send ( rts ) ............................................................. 11-4 11.2.4 clear-to-send ( cts ) ................................................................. 11-4 11.3 operation ............................................................................................. 11-5 11.3.1 baud-rate generator/timer ...................................................... 11-5 11.3.2 transmitter and receiver operating modes ............................. 11-6 11.3.2.1 transmitter ..................................................................... 11-6 11.3.2.2 receiver ......................................................................... 11-9 11.3.2.3 fifo stack ................................................................... 11-11 11.3.3 looping modes ........................................................................ 11-12 11.3.3.1 automatic echo mode .................................................. 11-12 11.3.3.2 local loopback mode .................................................. 11-12 11.3.3.3 remote loopback mode .............................................. 11-13 11.3.4 multidrop mode ........................................................................ 11-14 11.3.5 bus operation ......................................................................... 11-16 11.3.5.1 read cycles ................................................................ 11-16 11.3.5.2 write cycles ................................................................. 11-16 11.3.5.3 interrupt acknowledge cycles ..................................... 11-16 11.4 register description and programming ............................................ 11-16 11.4.1 register description ................................................................ 11-16 11.4.1.1 mode register 1 (umr1) ............................................. 11-17 11.4.1.2 mode register 2 (umr2) ............................................. 11-19 11.4.1.3 status register (usr) ................................................. 11-21 11.4.1.4 clock s elect register (ucsr) ..................................... 11-24 11.4.1.5 command register (ucr) ........................................... 11-24 11.4.1.6 receiver buffer (urb) ................................................. 11-27 11.4.1.7 transmitter buffer (utb) ............................................. 11-28 11.4.1.8 input port change register (uipcr) ........................... 11-28 11.4.1.9 auxiliary control register (uacr) ............................... 11-29 11.4.1.10 interrupt status register (uisr) .................................. 11-29 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number x user?s manual motorola 11.4.1.11 interrupt mask register (uimr) ................................... 11-30 11.4.1.12 timer upper preload register 1 (ubg1) ..................... 11-31 11.4.1.13 timer upper preload register 2 (ubg2) ..................... 11-31 11.4.1.14 interrupt vector register (uivr) ................................. 11-31 11.4.1.14.1 input port register (uip) ......................................................... 11-32 11.4.1.14.2 output port data registers (uop1, uop0) ............................ 11-32 11.4.2 programming ........................................................................... 11-33 11.4.2.1 uart module initializatin ............................................ 11-33 11.4.2.2 i/o driver example ...................................................... 11-33 11.4.2.3 interrupt handling ........................................................ 11-33 11.5 uart module initialization sequence ............................................... 11-34 section 12 m-bus module 12.1 overview ............................................................................................ 12-1 12.2 interface features .............................................................................. 12-1 12.3 m-bus system configuration ............................................................. 12-2 12.4 m-bus protocol ................................................................................... 12-3 12.4.1 start signal .......................................................................... 12-3 12.4.2 slave address transmission .................................................... 12-3 12.4.3 data transfer ........................................................................... 12-4 12.4.4 repeated start signal .......................................................... 12-4 12.4.5 stop signal ............................................................................ 12-4 12.4.6 arbitration procedure ............................................................... 12-4 12.4.7 clock synchronization .............................................................. 12-5 12.4.8 handshaking ............................................................................ 12-5 12.4.9 clock stretching ....................................................................... 12-5 12.5 programming model ........................................................................... 12-6 12.5.1 m-bus address register (madr). ........................................... 12-6 12.5.2 m-bus frequency divider register (mfdr) ............................ 12-6 12.5.3 m-bus control register (mbcr) .............................................. 12-8 12.5.4 m-bus status register (mbsr) ............................................... 12-9 12.5.5 m-bus data i/o register (mbdr) .......................................... 12-11 12.6 m-bus programming examples ....................................................... 12-11 12.6.1 initialization sequence ........................................................... 12-11 12.6.2 generation of start ............................................................. 12-11 12.6.3 post-transfer software response ......................................... 12-12 12.6.4 generation of stop ............................................................... 12-14 12.6.5 generation of repeated start ............................................ 12-14 12.6.6 slave mode ............................................................................ 12-15 12.6.7 arbitration lost ....................................................................... 12-15 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number motorola user?s manual xi section 13 timer module 13.1 overview of the timer module ........................................................... 13-1 13.2 overview of key features .................................................................. 13-1 13.3 understanding the general-purpose timer units .............................. 13-2 13.3.1 selecting the prescaler ............................................................ 13-3 13.3.2 working with capture mode ..................................................... 13-3 13.3.3 configuring the timer for reference compare ........................ 13-3 13.3.4 configuring the timer for output mode .................................... 13-3 13.3.5 interrupts ................................................................................... 13-3 13.4 programming model ........................................................................... 13- 4 13.4.1 understanding the general-purpose timer registers ............. 13- 4 13.4.1.1 timer mode register (tmr) ......................................... 13- 5 13.4.1.2 timer reference register (trr) .................................. 13- 6 13.4.1.3 timer capture register (tcr) ...................................... 13- 6 13.4.1.4 timer counter (tcn) .................................................... 13- 6 13.4.1.5 timer event register (ter) ......................................... 13- 7 section 14 debug support 14.1 real-time trace .................................................................................. 14-1 14.2 background debug mode .................................................................... 14-4 14.2.1 cpu halt ................................................................................... 14-5 14.2.2 bdm serial interface ................................................................. 14-6 14.2.3 bdm command set .................................................................. 14-7 14.2.3.1 bdm command set summary ...................................... 14-7 14.2.3.2 coldfire bdm commands ............................................. 14-8 14.2.3.3 command sequence diagram ...................................... 14-9 14.2.3.4 command set descriptions ......................................... 14-10 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number xii user?s manual motorola 14.2.3.4.1 read a/ d register (rareg/rdreg) .................................... 14-11 14.2.3.4.2 write a/ d register (wareg/wdreg) ................................... 14-12 14.2.3.4.3 read memory location (read) .............................................. 14-13 14.2.3.4.4 write memory location (write) ............................................ 14-15 14.2.3.4.5 dump memory block (dump) ................................................. 14-17 14.2.3.4.6 fill memory block (fill) ......................................................... 14-20 14.2.3.4.7 resume execution (go) ......................................................... 14-21 14.2.3.4.8 no operation (nop) ................................................................ 14-22 14.2.3.4.9 read control register (rcreg) ............................................ 14-22 14.2.3.4.10 write control register (wcreg) ............................................ 14-24 14.2.3.4.11 read debug module register (remreg) .............................. 14-24 14.2.3.4.12 write debug module register (wdmreg) ............................. 14-25 14.2.3.4.13 unassigned opcodes .............................................................. 14-26 14.3 real-time debug support ................................................................ 14-27 14.3.1 programming model ................................................................ 14-27 14.3.1.1 address breakpoint registers (ablr, abhr) ............ 14-28 14.3.1.2 address attribute breakpoint register (aatr) ........... 14-28 14.3.1.3 program counter breakdown register (pbr, pbmr) 14-30 14.3.1.4 data breakpoint register (dbr, dbmr) ..................... 14-30 14.3.1.5 trigger definition register (tdr) ................................ 14-31 14.3.1.6 configuration/status register (csr) ........................... 14-33 14.3.2 theory of operation ................................................................ 14-35 14.3.2.1 reuse of debug module hardware ............................. 14-37 14.3.3 concurrent bdm and processor operation ............................ 14-37 14.4 motorola recommended bdm pinout ............................................... 14-38 14.4.1 differences between the coldfire bdm and a cpu32 bdm .. 14-38 section 15 ieee 1149.1 test access port (jtag) 15.1 overview ............................................................................................ 15-2 15.2 j tag pin descriptions ....................................................................... 15-2 15.3 jtag register descriptions ............................................................... 15-3 15.3.1 jtag instruction shift register ............................................... 15-3 15.3.1.1 e xtest instruction ...................................................... 15-3 15.3.1.2 id code ........................................................................ 15-4 15.3.1.3 s ample/preload instruction ................................... 15-4 15.3.1.4 h ighz instruction ......................................................... 15-4 15.3.1.5 c lamp instruction ........................................................ 15-5 15.3.1.6 bypass instruction ...................................................... 15-5 15.3.2 id code register ...................................................................... 15-5 15.3.3 j tag boundary-scan register ................................................ 15-6 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number motorola user?s manual xiii 15.3.4 jtag bypass register ........................................................... 15-10 15.4 tap controller .................................................................................. 15-10 15.5 restrictions ....................................................................................... 15-12 15.6 disabling the ieee 1149.1 standard operation ............................... 15-12 15.7 motorola mcf5206 bsdl description ............................................. 15-13 15.8 obtaining the ieee 1149.1 standard ............................................... 15-13 section 16 electrical characteristics 16.1 maximum ratings ............................................................................... 16-1 16.1.1 supply, input voltage and storage temperature ..................... 16-1 16.1.2 operating temperature ............................................................ 16-1 16.1.3 thermal resistance ................................................................. 16-2 16.1.4 output loading ......................................................................... 16-2 16.2 d c electrical specifications ............................................................... 16-2 16.3 ac electrical specifications ................................................................ 16-3 16.3.1 clock input timing specifications ............................................ 16-3 16.3.2 clock input timing diagram ..................................................... 16-3 16.3.3 processor bus input timing specifications .............................. 16-4 16.3.4 input timing waveform diagram .............................................. 16-4 16.3.5 processor bus output timing specifications ........................... 16-5 16.3.6 output timing waveform diagram ........................................... 16-6 16.3.7 processor bus timing diagrams .............................................. 16-7 16.3.8 timer module ac timing specifications ................................ 16-13 16.3.9 timer module timing diagram ............................................... 16-13 16.3.10 uart module ac timing specifications ................................ 16-14 16.3.11 uart module timing diagram .............................................. 16-14 16.3.12 m-b us m odule ac timing specifications ............................... 16-15 16.3.12.1 i nput t iming specifications between scl and sd a ... 1 6-15 16.3.12.2 output timing specifications between scl and sd a 1 6-15 16.3.12.3 timing specifications between clk and scl, sd a ... 1 6-16 16.3.13 m-bus module timing diagram .............................................. 16-16 16.3.14 general purpose i/o port ac timing specifications .............. 16-17 16.3.15 general purpose i/o port timing diagram ............................ 16-17 16.3.16 ieee 1149.1 (jtag) ac timing specifications ...................... 16-18 16.3.17 ieee 1149.1 (jtag) timing diagram .................................... 16-18 section 17 mechanical data f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
table of contents (c ontinued ) paragraph page number title number xiv user?s manual motorola appendix a mcf5206 memory map summary appendix b porting from m68k architecture b.1 c compilers and host software ........................................................... b-1 b.2 target software port ............................................................................ b-1 b.3 initialization code ................................................................................. b-2 b.4 exception handlers .............................................................................. b-2 b.5 supervisor registers ............................................................................ b-3 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola mcf5206 user?s manual rev 1.0 xv list of illustrations figure page number title number 1-1. mcf5206 block diagram ................................................................................. 1-4 1-2. programming model......................................................................................... 1-7 3-1. coldfire processor core pipelines .................................................................. 3-1 3-2. user programming model ................................................................................3-3 3-3. supervisor programming mode ....................................................................... 3-4 3-4. status register................................................................................................. 3-4 3-5. exception stack frame form........................................................................... 3-7 4-1. instruction cache block diagram......................................................................4-2 6-1. signal relationships to clk............................................................................. 6-6 6-2. internal operand representation..................................................................... 6-7 6-3. mcf5206 interface to various port sizes........................................................ 6-8 6-4. byte-, word-, and longword-read transfer flowchart ................................. 6-10 6-5. longword-read transfer from a 32-bit port (no wait states) ..................... 6-11 6-6. byte-, word-, and longword-write transfer flowchart ..................................6-13 6-7. word-write transfer to a 16-bit port (no wait states) .................................. 6-14 6-8. bursting word-, longword-, and line-read transfer flowchart.................... 6-16 6-9. bursting word-read from an 8-bit port (no wait states)............................. 6-17 6-10. word-, longword-, and line-write transfer flowchart ...................................6-19 6-11. line-write transfer to a 32-bit port (no wait states) ....................................6-20 6-12. burst-inhibited word-, longword-, and line-read transfer flowchart.......... 6-22 6-13. burst-inhibited longword read from an 8-bit port (no wait states) ............6-23 6-14. burst-inhibited byte-, word-, and longword-write transfer flowchart .........6-25 6-15. burst-inhibited longword-write transfer to a 16-bit port (no wait states) .............................................................................................6-26 6-16. byte-, word-, and longword-read transfer with asynchronous termination flow- chart (one wait state) ...................................................................................6-28 6-17. byte-read transfer from an 8-bit port using asynchronous termination (one wait state) .............................................................................................................6-29 6-18. byte-, word-, and longword-write transfer with asynchronous termination flow- chart ...............................................................................................................6-30 6-19. byte-write transfer to a 32-bit port using asynchronous termination (one wait state) .............................................................................................................6-31 date: 8-31-98 revision no.: 1.1 pages affected: see change bars f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
list of illustrations (c ontinued ) figure page number title number xvi mcf5206 user?s manual rev 1.0 motorola 6-20. bursting word-, longword-, and line-read transfer with asynchronous termination flowchart ....................................................................................................... 6-33 6-21. bursting longword-read from 16-bit port using asynchronous termination (one wait state) ..................................................................................................... 6-34 6-22. word-, longword-, and line-write transfer flowchart with asynchronous termina- tion ................................................................................................................. 6-36 6-23. bursting line-write from 32-bit port using asynchronous termination (one wait state) ............................................................................................................. 6-37 6-24. burst-inhibited word-, longword-, and line-read transfer with asynchronous ter- mination flowchart ......................................................................................... 6 -40 6-25. burst-inhibited word read from 8-bit port using asynchronous termination ..... ........................................................................................................................ 6-41 6-26. burst-inhibited word-, longword-, and line-write transfer with asynchronous ter- mination flowchart ......................................................................................... 6-43 6-27. burst-inhibited longword-write transfer to 16-bit port using asynchronous termi- nation (one wait state) ................................................................................. 6-44 6-28. example of a misaligned longword transfer ................................................. 6-46 6-29. example of a misaligned word transfer ........................................................ 6-46 6-30. interrupt-acknowledge cycle flowchart ........................................................ 6-49 6-31. interrupt acknowledge bus cycle timing (no wait states) ........................... 6-50 6-32. bursting longword-read access from 16-bit port terminated with tea timing ........................................................................................................................ 6-52 6-33. mcf5206 two-wire mode bus arbitration interface ..................................... 6-54 6-34. two-wire implicit and explicit bus ownership ............................................... 6-56 6-35. two-wire bus arbitration with bus lock negated ......................................... 6-57 6-36. two-wire bus arbitration with bus lock bit asserted ................................... 6-58 6-37. mcf5206 two-wire bus arbitration protocol state diagram ........................ 6-59 6-38. three-wire implicit and explicit bus ownership ............................................ 6-62 6-39. three-wire bus arbitration with bus lock bit asserted ................................. 6-64 6-40. mcf5206 bus arbitration protocol state diagram ........................................ 6-65 6-41. alternate master read transfer using mcf5206-generated transfer acknowledge flowchart ................................................................... 6-69 6-42. alternate master read transfer using mcf5206 transfer acknowledge timing (no wait states) ................................................................................................... 6-70 6-43. alternate master write transfer using mcf5206-generated transfer acknowledge flowchart ................................................................... 6-71 6-44. alternate master write transfer using mcf5206 transfer-acknowledge timing (no wait states) ................................................................................................... 6-72 6-45. alternate master bursting read transfer using mcf5206-generated transfer-ac- knowledge flowchart ..................................................................................... 6-74 6-46. alternate master bursting longword read transfer to an 8-bit port using mcf5206 transfer-acknowledge timing (no wait states) ............................................ 6-75 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
list of illustrations (c ontinued ) figure page number title number motorola mcf5206 user?s manual rev 1.0 xvii 6-47. alternate master bursting write transfer using mcf5206-generated transfer-ac- knowledge flowchart ..................................................................................... 6-78 6-48. alternate master bursting longword write transfer to a 16-bit port using mcf5206 transfer acknowledge timing (no wait states) ............................................ 6-79 6-49. master reset timing ...................................................................................... 6-81 6-50. normal reset timing ..................................................................................... 6-82 6-51. software watchdog timer reset timing ....................................................... 6-83 8-1. mcf5206 interface to various port sizes ........................................................ 8-4 8-2. longword write transfer from a 32-bit port (no wait state, no address setup, no address hold) .................................................................................................. 8-9 8-3. word write transfer to a 16-bit port (one wait state, address setup, no address hold) ............................................................................................................... 8-11 8-4. byte write transfer from an 8-bit port (one wait state, address setup, address hold) ............................................................................................................... 8-13 8-5. longword burst read transfer from a 16-bit port (no wait states, no address setup, no address hold) ............................................................ 8-15 8-6. longword burst read transfer from a 16-bit port (no wait states, address setup, no address hold) ........................................................................................... 8-17 8-7. word burst read transfer from an 8-bit port (no wait states, address setup, ad- dress hold) ..................................................................................................... 8-19 8-8. alternate master longword read transfer from a 32-bit port (no wait state, no ad- dress setup, no address hold) ...................................................................... 8-22 8-9. alternate master longword read transfer from a 16-bit port (no wait state, no ad- dress setup, no address hold) ........................................................................ 8-24 8-10. alternate master longword read transfer from a 16-bit port (no wait state, with address setup or read address hold) ......................................................... 8-26 8-11. chip-select and write-enable assertion with aset = 0 timing .................... 8-35 8-12. chip-select and write-enable assertion with aset = 1timing ..................... 8-35 8-13. address hold timing with wrah = 0 ............................................................ 8-36 8-14. address hold timing with wrah = 1 ............................................................ 8-36 8-15. address hold timing with rdah = 0 ............................................................. 8-37 8-16. address hold timing with rdah = 1 ............................................................. 8-38 8-17. default memory address hold timing with wrah = 0 .................................. 8-41 8-18. default memory address hold timing with wrah = 1 .................................. 8-42 8-19. default memory address hold timing with rdah = 0 ................................... 8-43 8-20. default memory address hold timing with rdah = 1 ................................... 8-43 10-1. mcf5206 interface to various port sizes ...................................................... 10-4 10-2. address multiplexing for 8-bit dram with 512 byte page size .................... 10-9 10-3. connection diagram for 4 mbyte dram with 8-bit port and 1 kbyte page 10-15 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
list of illustrations (c ontinued ) figure page number title number xviii mcf5206 user?s manual rev 1.0 motorola 10-4. connection diagram for 1mbyte dram with 8-bit port and 1 kbyte page . 10-15 10-5. byte read transfers in normal mode with 8-bit dram ............................... 10-17 10-6. longword write transfer in normal mode with 16-bit dram ...................... 10-19 10-7. word write transfer in fast page mode with 8-bit dram .......................... 10-22 10-8. longword read transfer followed by a page hit longword read transfer in fast page mode with 32-bit dram ...................................................................... 10-24 10-9. word write transfer followed by a page hit word write transfer in fast page mode with 16-bit dram ......................................................................................... 10-26 10-10. byte read transfer followed by a page miss byte read transfer in fast page mode with 8-bit dram ........................................................................................... 10-28 10-11. bus arbitration in fast page mode .............................................................. 10-31 10-12. longword write transfer followed by a word read transfer in burst page mode with 16-bit dram ......................................................................................... 10-33 10-13. word read transfer followed by a page miss byte read transfer in fast page mode with 8-bit edo dram ........................................................................ 10-36 10-14. alternate master byte read transfer followed by byte write transfer in normal mode with 16-bit dram ............................................................................... 10-42 10-15. alternate master longword write transfer in normal mode with 16-bit dram ...................................................................................................................... 10-45 10-16. alternate master word read transfer in burst page mode with 8-bit dram ...................................................................................................................... 10-48 10-17. normal mode dram transfer timing .......................................................... 10-54 10-18. fast page mode or burst page mode dram transfer timing .................... 10-54 10-19. fast page mode or burst page mode dram transfer timing .................... 10-55 10-20. fast page mode page hit and page miss dram transfer timing ............. 10-56 10-21. fast page mode or burst page mode edo dram transfer timing ........... 10-57 10-22. cas before ras refresh cycle timing ....................................................... 10-58 11-1. uart block diagram ...................................................................................... 11-1 11-2. external and internal interface signals ........................................................... 11-4 11-3. baud-rate timer generator diagram ............................................................. 11-5 11-4. transmitter and receiver functional diagram ............................................... 11-7 11-5. transmitter timing diagram ........................................................................... 11-8 11-6. receiver timing diagram ............................................................................. 11-10 11-7. looping modes functional diagram ............................................................. 11-13 11-8. multidrop mode timing diagram ................................................................... 11-15 11-9. uart software flowchart ............................................................................ 11-35 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
list of illustrations (c ontinued ) figure page number title number motorola mcf5206 user?s manual rev 1.0 xix 12-1. m-bus module block diagram ......................................................................... 12-2 12-2. m-bus standard communication protocol ...................................................... 12-3 12-3. synchronized clock scl ................................................................................ 12-5 12-4. flow-chart of typical m-bus interrupt routine ............................................ 12-16 13-1. timer block diagram module operation ........................................................ 13-2 14-1. processor/debug module interface ................................................................. 14-1 14-2. pipeline timing example (debug output) ....................................................... 14-3 14-3. bdm signal sampling ..................................................................................... 14-6 14-4. command sequence diagram ...................................................................... 14-10 14-5. debug programming model .......................................................................... 14-27 14-6. 26-pin berg connector arranged 2 x 13 ....................................................... 14-38 14-7. serial transfer illustration ............................................................................. 14-39 15-1. jtag test logic block diagram .................................................................... 15-2 15-2. jtag tap controller state machine ........................................................... 15-11 15-3. disabling jtag in jtag mode .................................................................... 15-12 15-4. disabling jtag in debug mode ................................................................... 15-13 17-1. mcf5206 pin-out ........................................................................................... 17-2 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola mcf5206 user?s manual rev 1.0 xxi list of tables table page number title number 1-1. coldfire mcf5206 data formats ...................................................................1-8 1-2. coldfire effective addressing modes ............................................................. 1-9 1-3. specific effective addressing modes .............................................................. 1-9 1-4. move specific effective addressing modes .................................................. 1-9 1-5. notational conventions ................................................................................. 1-10 1-6. supervisor-mode instruction summary......................................................... 1-12 1-7. user-mode instruction summary .................................................................. 1-12 2-1. mcf5206 signal index.................................................................................... 2-2 2-2. address bus ....................................................................................................2-3 2-3. byte write-enable signals .............................................................................. 2-6 2-4. boot cs[0] automatic acknowledge (aa) enable ........................................... 2-8 2-5. interrupt request encodings for cs[0] ...........................................................2-8 2-6. data transfer size encoding .......................................................................... 2-9 2-7. bus cycle transfer type encoding .................................................................2-9 2-8. atm encoding................................................................................................. 2-9 2-9. cas assertion............................................................................................... 2-13 2-10. processor status encodings ......................................................................... 2-17 2-11. mcf5206 signal summary ........................................................................... 2-20 3-1. exception vector assignments ....................................................................... 3-7 3-2. format field encodings .................................................................................. 3-8 3-3. fault status encodings ...................................................................................3-8 3-4. misaligned operand references................................................................... 3-12 3-5. move byte and word execution times ..........................................................3-13 3-6. move long execution times......................................................................... 3-13 3-7. one operand instruction execution times ................................................... 3-14 3-8. two operand instruction execution times ................................................... 3-15 3-9. miscellaneous instruction execution times .................................................. 3-16 3-10. general branch instruction execution times................................................ 3-17 3-11. bra, bcc instruction execution times.......................................................... 3-17 4-1. initial fetch offset vs. clnf bits .................................................................... 4-4 4-2. instruction cache operation as defined by cacr[31,10] .............................. 4-5 4-3. memory map of i-cache registers .................................................................4-6 4-4. external fetch size based on miss address and clnf................................. 4-8 date: 8-31-98 revision no.: 1.1 pages affected: see change bars f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
list of tables (c ontinued ) figure page number title number xxii mcf5206 user?s manual rev 1.0 motorola 5-1. memory map of sim registers ....................................................................... 5-2 5-2. examples of typical rambar settings ......................................................... 5-4 6-1. sizx encoding ................................................................................................. 6-2 6-2. transfer type encoding .................................................................................. 6-3 6-3. atm encoding ................................................................................................ 6-3 6-4. chip select, dram and default memory address decoding priority ............. 6-7 6-5. sizx encoding for burst- and bursting-inhibited ports ................................... 6-9 6-6. address offset encoding ................................................................................ 6-9 6-7. data bus requirement for read cycles ......................................................... 6-9 6-8. internal to external data bus multiplexer - write cycle ................................ 6-12 6-9. sizx encoding for burst- and bursting-inhibited ports ................................. 6-18 6-10. mcf5206 two-wire bus arbitration protocol transition conditions ............ 6-59 6-11. mcf5206 two-wire arbitration protocol state diagram .............................. 6-60 6-12. mcf5206 three-wire bus arbitration protocol transition conditions .......... 6-65 6-13. mcf5206 three-wire arbitration protocol state diagram ............................ 6-66 6-14. signal source during alternate master accesses ........................................ 6-68 7-1. interrupt levels for encoded external interrupts ............................................ 7-4 7-2. interrupt control register assignments ........................................................ 7-10 7-3. interrupt mask register bit assignments ...................................................... 7-11 7-4. interrupt pending register bit assignments ................................................. 7-12 7-5. par3 - par0 pin assignment ...................................................................... 7-17 8-1. data bus byte write-enable signals .............................................................. 8-2 8-2. maximum memory bank sizes ....................................................................... 8-4 8-3. chip-select, dram and default memory address decoding priority ............. 8-6 8-4. memory map of chip-select registers .......................................................... 8-27 8-5. ba field comparisons for alternate master transfers ................................. 8-29 8-6. irq4 and irq1 selection of cs[0] port size ................................................. 8-32 8-7. irq7 selection of cs[0] acknowledge generation ....................................... 8-32 8-8. port size encodings ...................................................................................... 8-34 8-9. port size encodings ...................................................................................... 8-40 9-1. data direction register bit assignments ........................................................ 9-2 9-2. data register bit assignments ....................................................................... 9-3 10-1. cas assertion ............................................................................................... 10-2 10-2. maximum dram bank sizes ......................................................................... 10-3 10-3. dram bank programming example 1 .......................................................... 10-6 10-4. chip-select, dram and default memory address decoding priority ........... 10-7 10-5. dram bank programming example 2 .......................................................... 10-8 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
list of tables (c ontinued ) figure page number title number motorola mcf5206 user?s manual rev 1.0 xxiii 10-6. 8-bit port size address multiplexing configurations ................................... 10-11 10-7. 16-bit port size address multiplexing configurations ................................. 10-12 10-8. 32-bit port size address multiplexing configurations ................................. 10-13 10-9. bank page size versus actual dram page size ...................................... 10-14 10-10. memory map of dram controller registers ............................................... 10-51 11-1. uart module programming model ............................................................. 11-17 11-2. pmx and pt control bits .............................................................................. 11-19 11-3. b/cx control bits ......................................................................................... 11-19 11-4. cmx control bits .......................................................................................... 11-19 11-5. sbx control bits ........................................................................................... 11-21 11-6. rcsx control bits ........................................................................................ 11-24 11-7. tcsx control bits ......................................................................................... 11-24 11-8. miscx control bits ....................................................................................... 11-25 11-9. tcx control bits ........................................................................................... 11-26 11-10. rcx control bits ........................................................................................... 11-27 12-1. m-bus interface programmer?s model .......................................................... 12-6 12-2. mbus prescalar values ................................................................................ 12-7 13-1. programming model for timers ..................................................................... 13-3 14-1. processor pst definition ............................................................................... 14-2 14-2. cpu-generated message encoding .............................................................. 14-7 14-3. bdm command summary ............................................................................. 14-7 14-4. bdm size field encoding .............................................................................. 14-8 14-5. control register map ................................................................................... 14-23 14-6. definition of drc encoding - read .............................................................. 14-25 14-7. definition of drc encoding - write ............................................................... 14-26 14-8. sz encodings ............................................................................................... 14-29 14-9. transfer type encodings ............................................................................. 14-29 14-10. transfer modifier encodings for normal transfers ...................................... 14-30 14-11. transfer modifier encodings for alternate access transfers ....................... 14-30 14-12. core address, access size, and operand location .................................... 14-31 14-13. ddata, csr[31:28] breakpoint response ................................................. 14-36 14-14. shared bdm/breakpoint hardware .............................................................. 14-37 15-1. jtag pin descriptions .................................................................................. 15-3 15-2. jtag instructions .......................................................................................... 15-3 15-3. boundary scan bit definitions ....................................................................... 15-6 a--1. mcf5206 user programming model ............................................................. a-1 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola mcf5206 user?s manual rev 1.0 1-1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 section 1 introduction 1.1 background the mcf5206 integrated microprocessor combines a coldfire a processor core with several peripheral functions such as a dram controller, timers, general-purpose i/o and serial interfaces, debug module, and system integration. designed for embedded control applications, the coldfire core delivers enhanced performance while maintaining low system costs. to speed program execution, the on-chip instruction cache and sram provide one-cycle access to critical code and data. the mcf5206 greatly reduces the time required for system design and implementation by packaging common system functions on- chip and providing glueless interfaces to 8-, 16-, and 32-bit dram, sram, rom, and i/o devices. the revolutionary coldfire microprocessor architecture gives cost-sensitive, high-volume applications new levels of price and performance. based on the concept of variable-length risc technology, coldfire combines the architectural simplicity of conventional 32-bit risc with a memory-saving, variable-length instruction set. the denser binary code for coldfire processors consumes less valuable memory than any fixed-length instruction set risc processor available. this improved code density means more efficient system memory use for a given application and requires slower, less costly memory to help achieve a target performance level. the integrated peripheral functions provide high performance and flexibility: the dram controller supports as much as 512 mbytes of dram; support for both page-mode and extended-data-out drams; programmable full duplex duart and a separate i 2 c 1 - compatible motorola bus (m-bus interface). two 16-bit general-purpose multimode timers provide separate input and output signals. for system protection, the processor includes a programmable 16-bit software watchdog timer and several bus monitors. in addition, common system functions such as chip-selects, interrupt control, bus arbitration, and ieee 1149.1 test (jtag) support are included. a sophisticated debug interface supports both background-debug mode and real-time trace. this interface is common to all coldfire-based processors and allows common emulator support across the entire coldfire family. 1.2 mcf5206 features the primary features of the mcf5206 integrated processor include the following: 1. i 2 c is a trademark of phillips. date: 9-1-98 revision no.: 0.1 pages affected: see change bars f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction 1 - 2 m cf5206 u ser?s manual rev 1.0 motorola 2 3 4 6 7 8 9 1 11 12 13 14 15 16 coldfire processor core ? variable-length risc ? 32-bit internal address bus with 28 bit external bus ? ch ip se lect and dram ? internal 32-bit decoding ? 32-bit data bus ? 16 user-visible 32-bit wide registers ? supervisor / user modes for system protection ? vector base register to relocate exception-vector table ? optimized for high-level language constructs ? 17 mips at 33 m hz 512 b yte direct-mapped instruction cache 512 b yte on-chip sram ? provides one-cycle access to critical code and data dram controller ? programmable refresh timer provides cas -before- ras refresh ? support for 2 separate memory banks ? support for page-mode drams and extended-data-out (edo) drams ? allows external bus master access dual universal synchronous/asynchronous receiver/transmitter (duart) ? full duplex operation ? baud-rate generator ? modem control signals available ( cts , rts ) ? processor-interrupt capability dual 16-bit general-purpose multimode timers ? 8-bit prescaler ? timer input and output pins ? 30ns resolution with 33 mhz system clock ? processor-interrupt capability motorola bus (m-bus) module ? interchip bus interface for eeproms, lcd controllers, a/d converters, keypads ? compatible with industry-standard i 2 c bus ? master or slave modes support multiple masters ? automatic interrupt generation with programmable level system interface ? glueless bus interface to 8-, 16-, and 32-bit dram, sram, rom, and i/o devices ? 8 programmable chip-select signals ? programmable wait states and port sizes ? allows external bus masters to access chip-selects ? system protection f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction motorola m cf5206 u ser?s manual rev 1.0 1 - 3 16-bit software watchdog timer with prescaler double bus fault monitor bus timeout monitor spurious interrupt monitor ? programmable interrupt controller low interrupt latency 3 external interrupt inputs programmable interrupt priority and autovector generator ? ieee 1149.1 test (jtag) support ? 8-bit general-purpose i/o interface system debug support ? real-time trace ? background debug interface fully static 5.0-volt operation 160 pin qfp package f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction 1 - 4 m cf5206 u ser?s manual rev 1.0 motorola 2 3 4 6 7 8 9 1 11 12 13 14 15 16 1.3 functional blocks figure 1-1 is a block diagram of the mcf5206 processor. the paragraphs that follow provide an overview of the integrated processor. figure 1-1. mcf5206 block diagram 1.3.1 coldfire processor core the coldfire processor core consists of two independent, decoupled pipeline structures to maximize performance while minimizing core size.the instruction fetch pipeline (ifp) is a two-stage pipeline for prefetching instructions. the prefetched instruction stream is then gated into the two-stage operand execution pipeline (oep), which decodes the instruction, fetches the required operands and then executes the required function. because the ifp and oep pipelines are decoupled by an instruction buffer that serves as a fifo queue, the ifp can prefetch instructions in advance of their actual use by the oep, thereby minimizing time stalled waiting for instructions. the oep is implemented in a two-stage pipeline featuring a traditional risc datapath with a dual-read-ported register file feeding an arithmetic/logic unit. 1.3.1.1 processor states . the processor is always in one of four states: normal processing, exception processing, stopped, or halted. it is in the normal processing state dram chip interr upt contr oller external dram contr ol chip selects interr upt suppor t serial interf a ce clock input parallel timer suppor t bdm interf a ce b us interf a ce contr oller selects p arallel por t du ar t timers m-b us module 512 byte ica che coldfire 512 byte sram core jt a g system b us contr oller jt a g interf a ce interface m-bus interface clock external b us f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction motorola m cf5206 u ser?s manual rev 1.0 1 - 5 when executing instructions, fetching instructions and operands, and storing instruction results. exception processing is the transition from program processing to system, interrupt, and exception handling; it includes fetching the exception vector, stacking operations, and refilling the instruction fetch pipe after an exception. the processor enters exception processing when an exceptional internal condition arises, such as tracing an instruction, an instruction resulting in a trap, or executing specific instructions; (external conditions, such as interrupts and access errors , also cause exceptions) and ends when the first instruction of the exception handler enters the operand execution pipeline. stopped mode is a reduced power operation mode that causes the processor to remain quiescent until either a reset or nonmasked interrupt occurs. the stop instruction is used to enter this operation mode. the processor halts when it receives an access error or generates an address error while in the exception processing state. for example, if during exception processing of one access error another access error occurs, the mcf5206 processor cannot complete the transition to normal processing nor can it save the internal machine state. the processor assumes that the system is not operational and halts. only an external reset can restart a halted processor. when the processor executes a stop instruction, it is in a special type of normal processing state, e.g., one without bus cycles. the processor stops but it does not halt. the processor can also halt in a restart mode because of background-debug mode events. 1.3.1.2 programming model . the coldfire programming model is separated into two privilege modes : supervisor and user. the s-bit in the status register (sr) indicates the current privilege mode. the processor identifies a logical address by accessing either the supervisor or user address space, which differentiates between supervisor and user modes. user programs can access only registers specific to the user mode. system software executing in the supervisor mode can access all registers using the control registers to perform supervisory functions. user programs are thus restricted from accessing privileged information. the operating system performs management and service tasks for user programs by coordinating their activities. this difference allows the supervisor mode to protect system resources from uncontrolled accesses. most instructions execute in either mode but some instructions that have important system effects are privileged and can execute only in the supervisor mode. for instance, user programs cannot execute the stop instructions. to prevent a program executing in user mode from entering the supervisor mode, instructions that can alter the s-bit in the sr are privileged. the trap instructions provide controlled access to operating system services for user programs. when in normal processing, the processor employs the user mode and the user programming model . during exception processing, the processor changes from user to supervisor mode. the current sr value on the stack is saved and then the s-bit is set, forcing the processor into the supervisor mode. to return to the user mode, a system routine must execute a move to sr, or an rte, which operate in the supervisor mode, modifying f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction 1 - 6 m cf5206 u ser?s manual rev 1.0 motorola 2 3 4 6 7 8 9 1 11 12 13 14 15 16 the s-bit of the sr. after these instructions execute, the instruction fetch pipeline flushes and is refilled from the appropriate address space. the registers depicted in the programming model (see figure 1-2 ) provide operand storage and control for the coldfire processor core. the registers are also partitioned into user and supervisor privilege modes. the user programming model consists of 16 general-purpose, 32-bit registers and two control registers. the supervisor model consists of five more registers that can be accessed only by code running in supervisor mode. only system programmers can use the supervisor programming model to implement operating system functions and i/o control. this supervisor/user distinction allows for the coding of application software that r un without modification on any coldfire family processor. the supervisor programming model contains the control features that system designers would not want user code to erroneously access as this might effect normal system operation. furthermore, the supervisor programming model may need to change slightly from coldfire generation to generation to add features or improve performance as the architecture evolves. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction motorola m cf5206 u ser?s manual rev 1.0 1 - 7 figure 1-2. programming model the user programming model includes eight data registers, seven address registers, and a stack pointer register. the address registers and stack pointer can be used as base address registers or software stack pointers, and any of the 16 registers can be used as index registers . two control registers are available in the user mode: the program counter (pc), which contains the address of the instruction that the mcf5206 device is executing, and the lower byte of the sr, which is accessible as the condition code register (ccr). the ccr contains the condition codes that reflect the results of a previous operation and can be used for conditional instruction execution in a program. 31 0 d0 d1 d2 data registers d3 d4 d5 d6 d7 31 0 a0 a1 a2 address registers a3 a4 a5 a6 a7 stack pointer pc program counter ccr condition code register user programming model 15 31 19 (ccr) sr status register must be zeros vbr vector base register cacr cache control register acr0 access control register 0 acr1 access control register 1 s upervisor programming model f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction 1 - 8 m cf5206 u ser?s manual rev 1.0 motorola 2 3 4 6 7 8 9 1 11 12 13 14 15 16 the supervisor programming model includes the upper byte of the sr, which contains operation control information. the vector base register (vbr) contains the upper 12 bits of the base address of the exception vector table, which is used in exception processing. the lower 20 bits of the vbr are forced to zero, allowing the vector table to reside on any 1 mbyte memory boundary. the cache control register (cacr) controls enabling of the on-chip cache. two access control registers (acr1, acr0) allow portions of the address space to be mapped as noncacheable . see subsections 4.3 and 4.4 for details on these registers . 1.3.1.3 data format summary . the processor performs all arithmetic using 2?s complement, but operands can be signed or unsigned. registers, memory, or instructions themselves can contain operands. the operand size for each instruction is either explicitly encoded in the instruction or implicitly defined by the instruction operation. table1-1 summarizes the mcf5206 data formats. 1.3.1.4 addressing capabilities summary . the mcf5206 processor supports seven addressing modes. the register indirect addressing modes support postincrement, predecrement, offset, and indexing, which are particularly useful for handling data structures common to sophisticated embedded applications and high-level languages. the program counter indirect mode also has indexing and offset capabilities. this addressing mode is typically required to support position-independent software. besides these addressing modes, the mcf5206 processor provides index scaling features. an instruction?s addressing mode can specify the value of an operand or a register containing the operand. it can also specify how to derive the effective address of an operand in memory. each addressing mode has an assembler syntax. some instructions imply the addressing mode for an operand. these instructions include the appropriate fields for operands that use only one addressing mode. table 1-2 summarizes the effective addressing modes of coldfire processors. t able 1- 3 s ummarizes the move specific effective addressing modes. 1.3.1.5 notational conventions . table 1- 4 l ists the notation conventions used throughout this manual, unless otherwise specified . table 1-1. coldfire mcf5206 data formats operand data format size bit 1-bit byte 8-bits word 16-bits longword 32-bits f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction motorola m cf5206 u ser?s manual rev 1.0 1 - 9 table 1-2. coldfire effective addressing modes addressing modes syntax register direct data address dn an register indirect address address with postincrement address with predecrement address with displacement (an) (an)+ e(an) (d16,an) address register indirect with index 8-bit displacement (d 8 ,an,xi) program counter indirect with displacement (d 16 ,pc) program counter indirect with index 8-bit displacement (d 8 ,pc,xi) absolute data addressing short long (xxx).w (xxx).l immediate # table 1-3. move specific effective addressing modes source destination dn all an all (an) all (an)+ all -(an) all (d 16 ,an) (d 16 ,pc) dn an (an) (an)+ -(an) (d 16 ,an) (d 8 ,an,xi) (d 8 ,pc,xi) dn an (an) (an)+ -(an) (xxx).w (xxx).l dn an (an) (an)+ -(an) # dn an (an) (an)+ -(an) f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
introduction 1 - 10 m cf5206 u ser?s manual rev 1.0 motorola 2 3 4 6 7 8 9 1 11 12 13 14 15 16 table 1-4. notational conventions opcode wildcards cc logical condition (example: ne for not equal) register operands an any address register n (example: a3 is address register 3) ay,ax source and destination address registers, respectively dn any data register n (example: d5 is data register 5) dy,dx source and destination data registers, respectively rn any address or data register ry,rx any source and destination registers, respectively rw any second destination register rc any control register (example vbr is the vector base register) register/port names ddata debug data port ccr condition code register (lower byte of status register) pc program counter pst processor status port sr status register miscellaneous operands # immediate data following the instruction word(s) effective address y,x source and destination effective addresses, respectively


▲Up To Search▲   

 
Price & Availability of MCF5206FT33A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X